package com.bsj.power.common.mapper;

import com.bsj.power.common.def.entity.gb28181.ParentPlatform;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @Description
 * @Author zhaoyang
 * @Date 2024/4/26 16:41
 */
@Repository
public interface ParentPlatformMapper {

    ParentPlatform getParentPlatByServerGBId(String platformGbId);

    int updateParentPlatformStatus(@Param("platformGbID") String platformGbID, @Param("online") boolean online);

//    @Select("SELECT * FROM wvp_platform WHERE id=#{id}")
    ParentPlatform getParentPlatById(int id);
}
